setline

Read about setline, The latest news, videos, and discussion topics about setline from alibabacloud.com

Gvim-Li-Shen

Set CursorlineSet history=1700Set nocompatible "Remove nasty about VI consistency mode, avoid some bugs and limitations of previous versionsSet NuFileType plugin onFileType indent onSet AutoreadSet so=7Set WildmenuSet WILDIGNORE=*.O,*~,*.PYCSet

Vim Creator file adds header comments automatically

Sometimes when you write a program file, you often need to add some header comments, such as creator, creation date, version statement or function description, if you want to add a comment every time, it will be more troublesome, so you can create a

Common commands for Linux (Linux Mint)

View processPS Top (Task Manager)Kill processKill PID (PID number requires its own input, can be viewed by the viewing process)Delete lock filesudo rm/var/lib/apt/lists/lockdeleting filessudo rm-r filename (-R down recursion, no matter how many

Vim tips,. vimrc file

Upload the. vimrc file to the user's home directoryThe contents of the file are as follows:Autocmd bufnewfile *.py,*.cc,*.SH, *.java exec": Call Settitle ()"func settitle ()ifExpand"%:e") =='SH'Call Setline (1,"#!/bin/bash") Call Setline (2,"########

Vim Editor Optimization problem

Use the Xhell to connect the server using the optimized Vim editor cannot appear option Set nocompatibleSet history=100FileType onFileType plugin onFileType indent onSet AutoreadSet Mouse=aSyntax enableSet CursorlineHi cursorline guibg= #00ff00

Vim. VIMRC

Set TabStop=4set Numberset cul set CUC hi cursorcolumn ctermfg=3 ctermbg=2function insertpythoncomment () exe'Normal'.1.'G' Let Line= Getline ('.') ifLine =~'^#!. *$'|| Line =~'^#.*coding:.*$' returnendif normal O call Setline ('.','#!/usr/

Configuration and optimization practices for the Shell Scripting development environment

Configuration knowledge such as Vim path is shown in table: Related configuration Files Function description . viminfo User's operation history using Vim . VIMRC Configuration file for

Lua1.1 Program Analysis 1

First try globals. Lua, Which is copied from lua1.0. Because lua1.0 has some doubts about the output of this program, execute it here.The source code is as follows:---------------------------$ DebugK, V = nextvar (k)While K doPrint (k)K, V = nextvar

Lua1.1 print bytecode

How to print the bytecode:Modify the Code as follows to enable the macro function for printing bytecode.Y. Tab. c18 rows# Define listing 0Change# Define Listing 1Because the definition of printcode is called, a predeclaration is added:Make the

Complete VIM tips: file name completion and vim tips completion

Complete VIM tips: file name completion and vim tips completion Well, I 've been reading the "concise Python tutorial" These two days. The author suggested to write the file name and the interpreter of the call in the comments in front of the Code.

Total Pages: 6 1 2 3 4 5 6 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.